home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000111_fdc@panix.com_Tue Aug 7 13:34:25 2007.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader2.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: SIZE error when getting file.
  5. Date: Tue, 7 Aug 2007 17:34:04 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 44
  8. Message-ID: <slrnfbhb8c.91j.fdc@panix3.panix.com>
  9. References: <1186152316.448880.120380@g12g2000prg.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix3.panix.com
  12. X-Trace: reader2.panix.com 1186508044 9203 166.84.1.3 (7 Aug 2007 17:34:04 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Tue, 7 Aug 2007 17:34:04 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15682
  17.  
  18. On 2007-08-03, mtice <mjtice@gmail.com> wrote:
  19. : I'm trying to ftp into an i/5 to retrieve a file.  I'm getting an
  20. : error however.  These are the commands:
  21. :
  22. : # kermit
  23. : C-Kermit>ftp 10.5.0.13
  24. : Connected to 10.5.0.13.
  25. :  Name (10.5.0.13:root): cmc
  26. :  Password:
  27. : C-Kermit>cd /qsys.lib/eom063007.lib
  28. : C-Kermit>bin
  29. : C-Kermit>get DATAAZ.file
  30. : Subcommand SIZE not valid.
  31. : C-Kermit>quit
  32. :
  33. : However, if I use the shell's (bash, suse linux 10.0) built-in ftp
  34. : client I'm able to retrieve the file just fine.  If anyone could shed
  35. : some light on this problem I'd appreciate it greatly.
  36. :
  37. When you give a GET command, Kermit sends a SIZE command to get the file's
  38. size so (for example) it can give a progress indication during the transfer.
  39.  
  40.   C-Kermit>set ftp debug on
  41.   C-Kermit>get msk315.txt
  42.   ---> SIZE msk315.txt
  43.   213 16220
  44.    GET msk315.txt (text) (16220 bytes)---> PASV
  45.   227 Entering Passive Mode (128,59,29,214,130,34)
  46.   ---> RETR msk315.txt
  47.   150 Opening ASCII mode data connection for msk315.txt (15814 bytes).
  48.   226 Transfer complete.
  49.   C-Kermit>
  50.  
  51. If the server does not understand the SIZE command, Kermit is supposed to say
  52. (to itself), "OK, fine, I don't know the size but I will still ask for the
  53. file", and then it sends a RETR command.  I don't see anyplace in the code
  54. where Kermit would fail to send the RETR command upon getting an error in
  55. response to the SIZE command.  I would be interested to find out how this
  56. happened.  In the meantime, however, you can always work around the 
  57. problem by giving the following command before you do a GET or MGET:
  58.  
  59.   ftp disable size
  60.  
  61. - Frank